import { http } from './service.js'

export const getChildrenByPlan = (coursePlanId, category) => {
	return http.request({
		url: '/pad/observation_new/children_by_plan',
		method: 'POST',
		params: {
			'coursePlanId': coursePlanId,
			'category': category,
		}
	})
}

export const getObservationByCourse = (coursePlanId, category) => {
	return http.request({
		url: 'pad/observation_new/list_by_course_plan',
		method: 'POST',
		params: {
			'coursePlanId': coursePlanId,
			'category': category,
		}
	})
}

